home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Techniques / Graph / Graph ReadMe < prev    next >
Text File  |  1998-05-17  |  2KB  |  89 lines

  1. Paris, 16 may 1998
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. What is Graph ?
  15. Graph is mainly a module (containing a set of methods) and a special window class which add some functions to draw axis and curves in a window.
  16. I took up the function names in the Basic HP (Xaxis, Yaxis, Scale,..)
  17.  
  18. Installing
  19. You need a Mac PPC or 68K and RealBasic version DR1r33 or better.
  20. If you want to play quickly with it, run the demo file I provided.
  21.  
  22. Disclaimer
  23. The software as been created by Claude Korber.
  24. It’s has been developed using the DR1r33 versions of RealBasic™. Pay attention that you could have impatibilities with other versions because RealBasic is evolving very quickly.
  25. I had no time to test it on other plateform than mine (PPC 6400/200)
  26. I cannot garantee it’s all bug free; the user assumes all responsability for any damage caused directly or indirecly, by its use.
  27.  
  28. Distribution
  29. You may copy and give away this software freely, but be sure to include this ReadMe.
  30.  
  31. Use within your pragrams
  32. Simply add to your program, the module "GraphWin" and the window class "GraphMod", by dropping them into the projet window.
  33. You have now access to the following methods :
  34.  
  35. NewGraph <Window name>
  36. Scale <Xmin, Xmax, Ymin, Ymax>
  37. Xaxis <Xintersection, XGraduation>
  38. Yaxis <Yintersection, YGraduation>
  39. Plot <Xmin, Xmax, Number of points>
  40.  
  41. The function to draw must be filled in the funct method (open the "GraphMod").
  42.  
  43. Example (include in the demo file)
  44.  
  45. NewGraph "Mygraph"
  46. Scale -2,5,-5,10
  47. Xaxis 0,0.5
  48. Yaxis 0,1
  49. Plot -2,5, 100
  50.  
  51. In the Funct method :
  52.  
  53.  
  54.  
  55.  
  56. So that the result is :
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. Note : the window is fully re-sizeable.
  83.  
  84. Contacts and references
  85. My e-mail adress is Korber@club-internet.fr
  86.  
  87. RealBasic™ is developed by Andrew Barry from REAL Software Inc.
  88. http://www.realsoftware.com 
  89.